import request from '@/utils/request'

// 定义多个方法
const apiMethods = {
  path: '/credit_log',
  getList(params) {
    return request({
      url: this.path + '/list',
      method: 'get',
      params
    })
  },
  info(params) {
    return request({
      url: this.path + '/get',
      method: 'get',
      params
    })
  },
}

export default apiMethods
